﻿using Mes.Domain.BoundedContext.EntityBase;

namespace Mes.Domain.BoundedContext.Entities.Operations
{
    public class StdOperEntLink : NoIdEntityBase
    {
        public string Oper_Id { get; set; } = string.Empty;

        public int Ent_Id { get; set; } = 0;

        public double? Est_Fixed_Lab { get; set; } = null;

        public double? Est_Lab_Rate { get; set; } = null;

        public double? Est_Setup_Time { get; set; } = null;

        public double? Est_Teardown_Time { get; set; } = null;

        public double Est_Prod_Rate { get; set; } = 0.0;

        public int Prod_Uom { get; set; } = 0;

        public double Batch_Size { get; set; } = 0.0;

        public double? Est_Transfer_Time { get; set; } = null;

        public double? Init_Prod_Pct { get; set; } = null;

        public string? Last_Edit_Comment { get; set; } = null;

        public string Last_Edit_By { get; set; } = string.Empty;

        public DateTime Last_Edit_At { get; set; } = DateTime.Now;

        public int Row_Id { get; set; } = 0;
    }
}
